import { http } from "./request";

export default {
  ExperimentTypePagedList(data: any) {
    //实验类型列表
    return http.request({
      url: "/api/ExperimentType/PagedList",
      method: "post",
      data: data,
    });
  },
  InstrumentInstrumentClicked(data: any) {
    //实验类型列表
    return http.request({
      url: "/api/Instrument/InstrumentClicked",
      method: "post",
      data: data,
    });
  },

  ExperimentTypeOptions(data: any) {
    //实验类型下拉选项
    return http.request({
      url: "/api/ExperimentType/Options",
      method: "post",
      data: data,
    });
  },
  ExperimentCategoryOptions(data: any) {
    //实验分类
    return http.request({
      url: "/api/ExperimentCategory/Options",
      method: "post",
      data: data,
    });
  },
  ExperimentTypeExport(data: any) {
    //实验类型导出
    return http.request({
      url: "/api/ExperimentType/Export",
      method: "post",
      data: data,
    });
  },
  ExperimentTypeCreate(data: any) {
    //实验类型新增
    return http.request({
      url: "/api/ExperimentType/Create",
      method: "post",
      data: data,
    });
  },
  ExperimentTypeFetchModel(data: any) {
    //实验类型详情
    return http.request({
      url: "/api/ExperimentType/FetchModel",
      method: "post",
      data: data,
    });
  },
  ExperimentTypeDelete(data: any) {
    //实验类型删除
    return http.request({
      url: "/api/ExperimentType/Delete",
      method: "post",
      data: data,
    });
  },
  ExperimentTypeUpdate(data: any) {
    //实验类型更新
    return http.request({
      url: "/api/ExperimentType/Update",
      method: "post",
      data: data,
    });
  },
  CustomerExperimentPagedList(data: any) {
    //学校实验列表
    return http.request({
      url: "/api/CustomerExperiment/PagedList",
      method: "post",
      data: data,
    });
  },
  CustomerExperimentOptions(data: any) {
    //学校实验下拉选项
    return http.request({
      url: "/api/CustomerExperiment/Options",
      method: "post",
      data: data,
    });
  },
  CustomerExperimentExport(data: any) {
    //学校实验导出
    return http.request({
      url: "/api/CustomerExperiment/Export",
      method: "post",
      data: data,
    });
  },
  CustomerExperimentCreate(data: any) {
    //学校实验新增
    return http.request({
      url: "/api/CustomerExperiment/Create",
      method: "post",
      data: data,
    });
  },
  CustomerExperimentFetchModel(data: any) {
    //学校实验详情
    return http.request({
      url: "/api/CustomerExperiment/FetchModel",
      method: "post",
      data: data,
    });
  },
  CustomerExperimentDelete(data: any) {
    //学校实验删除
    return http.request({
      url: "/api/CustomerExperiment/Delete",
      method: "post",
      data: data,
    });
  },
  CustomerExperimentUpdate(data: any) {
    //学校实验更新
    return http.request({
      url: "/api/CustomerExperiment/Update",
      method: "post",
      data: data,
    });
  },
  ExperimentPagedList(data: any) {
    //标准实验列表
    return http.request({
      url: "/api/Experiment/PagedList",
      method: "post",
      data: data,
    });
  },
  ExperimentOptions(data: any) {
    //标准实验下拉选项
    return http.request({
      url: "/api/Experiment/Options",
      method: "post",
      data: data,
    });
  },
  ExperimentExport(data: any) {
    //标准实验导出
    return http.request({
      url: "/api/Experiment/Export",
      method: "post",
      data: data,
    });
  },
  ExperimentCreate(data: any) {
    //标准实验新增
    return http.request({
      url: "/api/Experiment/Create",
      method: "post",
      data: data,
    });
  },
  ExperimentFetchModel(data: any) {
    //标准实验详情
    return http.request({
      url: "/api/Experiment/FetchModel",
      method: "post",
      data: data,
    });
  },
  ExperimentDelete(data: any) {
    //标准实验删除
    return http.request({
      url: "/api/Experiment/Delete",
      method: "post",
      data: data,
    });
  },
  ExperimentUpdate(data: any) {
    //标准实验更新
    return http.request({
      url: "/api/Experiment/Update",
      method: "post",
      data: data,
    });
  },
  UserFavExperimentPagedList(data: any) {
    //收藏标准实验列表
    return http.request({
      url: "/api/UserFavExperiment/PagedList",
      method: "post",
      data: data,
    });
  },
  UserFavExperimentOptions(data: any) {
    //收藏标准实验下拉选项
    return http.request({
      url: "/api/UserFavExperiment/Options",
      method: "post",
      data: data,
    });
  },
  UserFavExperimentExport(data: any) {
    //收藏标准实验导出
    return http.request({
      url: "/api/UserFavExperiment/Export",
      method: "post",
      data: data,
    });
  },
  UserFavExperimentCreate(data: any) {
    //收藏标准实验新增
    return http.request({
      url: "/api/UserFavExperiment/Create",
      method: "post",
      data: data,
    });
  },
  UserFavExperimentFetchModel(data: any) {
    //收藏标准实验详情
    return http.request({
      url: "/api/UserFavExperiment/FetchModel",
      method: "post",
      data: data,
    });
  },
  UserFavExperimentDelete(data: any) {
    //收藏标准实验删除
    return http.request({
      url: "/api/UserFavExperiment/Delete",
      method: "post",
      data: data,
    });
  },
  UserFavExperimentUpdate(data: any) {
    //收藏标准实验更新
    return http.request({
      url: "/api/UserFavExperiment/Update",
      method: "post",
      data: data,
    });
  },
  UserFavCustomerExperimentPagedList(data: any) {
    //收藏学校实验列表
    return http.request({
      url: "/api/UserFavCustomerExperiment/PagedList",
      method: "post",
      data: data,
    });
  },
  UserFavCustomerExperimentOptions(data: any) {
    //收藏学校实验下拉选项
    return http.request({
      url: "/api/UserFavCustomerExperiment/Options",
      method: "post",
      data: data,
    });
  },
  UserFavCustomerExperimentExport(data: any) {
    //收藏学校实验导出
    return http.request({
      url: "/api/UserFavCustomerExperiment/Export",
      method: "post",
      data: data,
    });
  },
  UserFavCustomerExperimentCreate(data: any) {
    //收藏学校实验新增
    return http.request({
      url: "/api/UserFavCustomerExperiment/Create",
      method: "post",
      data: data,
    });
  },
  UserFavCustomerExperimentFetchModel(data: any) {
    //收藏学校实验详情
    return http.request({
      url: "/api/UserFavCustomerExperiment/FetchModel",
      method: "post",
      data: data,
    });
  },
  UserFavCustomerExperimentDelete(data: any) {
    //收藏学校实验删除
    return http.request({
      url: "/api/UserFavCustomerExperiment/Delete",
      method: "post",
      data: data,
    });
  },
  UserFavCustomerExperimentUpdate(data: any) {
    //收藏学校实验更新
    return http.request({
      url: "/api/UserFavCustomerExperiment/Update",
      method: "post",
      data: data,
    });
  },
  HomeworkTeacherCreateHomework(data: any) {
    //教师布置作业
    return http.request({
      url: "/api/Homework/TeacherCreateHomework",
      method: "post",
      data: data,
    });
  },
  HomeworkPagedList(data: any) {
    //作业列表
    return http.request({
      url: "/api/Homework/PagedList",
      method: "post",
      data: data,
    });
  },

  HomeworkOptions(data: any) {
    //作业下拉选项
    return http.request({
      url: "/api/Homework/Options",
      method: "post",
      data: data,
    });
  },
  HomeworkExport(data: any) {
    //作业导出
    return http.request({
      url: "/api/Homework/Export",
      method: "post",
      data: data,
    });
  },
  HomeworkCreate(data: any) {
    //作业新增
    return http.request({
      url: "/api/Homework/Create",
      method: "post",
      data: data,
    });
  },
  HomeworkFetchModel(data: any) {
    //作业详情
    return http.request({
      url: "/api/Homework/FetchModel",
      method: "post",
      data: data,
    });
  },
  HomeworkDelete(data: any) {
    //作业删除
    return http.request({
      url: "/api/Homework/Delete",
      method: "post",
      data: data,
    });
  },
  HomeworkUpdate(data: any) {
    //作业更新
    return http.request({
      url: "/api/Homework/Update",
      method: "post",
      data: data,
    });
  },
  StudentExperimentPagedList(data: any) {
    //学生的实验记录列表
    return http.request({
      url: "/api/StudentExperiment/PagedList",
      method: "post",
      data: data,
    });
  },
  StudentExperimentOptions(data: any) {
    //学生的实验记录下拉选项
    return http.request({
      url: "/api/StudentExperiment/Options",
      method: "post",
      data: data,
    });
  },
  StudentExperimentExport(data: any) {
    //学生的实验记录导出
    return http.request({
      url: "/api/StudentExperiment/Export",
      method: "post",
      data: data,
    });
  },
  StudentExperimentCreate(data: any) {
    //学生的实验记录新增
    return http.request({
      url: "/api/StudentExperiment/Create",
      method: "post",
      data: data,
    });
  },
  StudentExperimentFetchModel(data: any) {
    //学生的实验记录详情
    return http.request({
      url: "/api/StudentExperiment/FetchModel",
      method: "post",
      data: data,
    });
  },
  StudentExperimentDelete(data: any) {
    //学生的实验记录删除
    return http.request({
      url: "/api/StudentExperiment/Delete",
      method: "post",
      data: data,
    });
  },
  StudentExperimentUpdate(data: any) {
    //学生的实验记录更新
    return http.request({
      url: "/api/StudentExperiment/Update",
      method: "post",
      data: data,
    });
  },
  ClassStudentPagedList(data: any) {
    //学生的班级列表
    return http.request({
      url: "/api/ClassStudent/PagedList",
      method: "post",
      data: data,
    });
  },

  ClassStudentOptions(data: any) {
    //学生的班级下拉选项
    return http.request({
      url: "/api/ClassStudent/Options",
      method: "post",
      data: data,
    });
  },
  ClassStudentExport(data: any) {
    //学生的班级导出
    return http.request({
      url: "/api/ClassStudent/Export",
      method: "post",
      data: data,
    });
  },
  ClassStudentCreate(data: any) {
    //学生的班级新增
    return http.request({
      url: "/api/ClassStudent/Create",
      method: "post",
      data: data,
    });
  },
  ClassStudentFetchModel(data: any) {
    //学生的班级详情
    return http.request({
      url: "/api/ClassStudent/FetchModel",
      method: "post",
      data: data,
    });
  },
  ClassStudentDelete(data: any) {
    //学生的班级删除
    return http.request({
      url: "/api/ClassStudent/Delete",
      method: "post",
      data: data,
    });
  },
  ClassStudentUpdate(data: any) {
    //学生的班级更新
    return http.request({
      url: "/api/ClassStudent/Update",
      method: "post",
      data: data,
    });
  },
  ClassStudentFetchModelWithDetails(data: any) {
    //获取班级学生详情（包含完整的导航属性）
    return http.request({
      url: "/api/BizClassStudent/FetchModelWithDetails",
      method: "post",
      data: data,
    });
  },
  ClazzPagedList(data: any) {
    //班级列表
    return http.request({
      url: "/api/Clazz/PagedList",
      method: "post",
      data: data,
    });
  },
  ClazzOptions(data: any) {
    //班级下拉选项
    return http.request({
      url: "/api/Clazz/Options",
      method: "post",
      data: data,
    });
  },
  ClazzExport(data: any) {
    //班级导出
    return http.request({
      url: "/api/Clazz/Export",
      method: "post",
      data: data,
    });
  },
  ClazzCreate(data: any) {
    //班级新增
    return http.request({
      url: "/api/Clazz/Create",
      method: "post",
      data: data,
    });
  },
  ClazzFetchModel(data: any) {
    //班级详情
    return http.request({
      url: "/api/Clazz/FetchModel",
      method: "post",
      data: data,
    });
  },
  ClazzDelete(data: any) {
    //班级删除
    return http.request({
      url: "/api/Clazz/Delete",
      method: "post",
      data: data,
    });
  },
  ClazzUpdate(data: any) {
    //班级更新
    return http.request({
      url: "/api/Clazz/Update",
      method: "post",
      data: data,
    });
  },
  InstrumentPagedList(data: any) {
    //实验仪器百科列表
    return http.request({
      url: "/api/Instrument/PagedList",
      method: "post",
      data: data,
    });
  },
  InstrumentOptions(data: any) {
    //实验仪器百科下拉选项
    return http.request({
      url: "/api/Instrument/Options",
      method: "post",
      data: data,
    });
  },
  InstrumentExport(data: any) {
    //实验仪器百科导出
    return http.request({
      url: "/api/Instrument/Export",
      method: "post",
      data: data,
    });
  },
  InstrumentCreate(data: any) {
    //实验仪器百科新增
    return http.request({
      url: "/api/Instrument/Create",
      method: "post",
      data: data,
    });
  },
  InstrumentFetchModel(data: any) {
    //实验仪器百科详情
    return http.request({
      url: "/api/Instrument/FetchModel",
      method: "post",
      data: data,
    });
  },
  InstrumentDelete(data: any) {
    //实验仪器百科删除
    return http.request({
      url: "/api/Instrument/Delete",
      method: "post",
      data: data,
    });
  },
  InstrumentUpdate(data: any) {
    //实验仪器百科更新
    return http.request({
      url: "/api/Instrument/Update",
      method: "post",
      data: data,
    });
  },
  InstrumentCategoryPagedList(data: any) {
    //实验仪器百科分类列表
    return http.request({
      url: "/api/InstrumentCategory/PagedList",
      method: "post",
      data: data,
    });
  },
  InstrumentCategoryOptions(data: any) {
    //实验仪器百科分类下拉选项
    return http.request({
      url: "/api/InstrumentCategory/Options",
      method: "post",
      data: data,
    });
  },
  InstrumentCategoryExport(data: any) {
    //实验仪器百科分类导出
    return http.request({
      url: "/api/InstrumentCategory/Export",
      method: "post",
      data: data,
    });
  },
  InstrumentCategoryCreate(data: any) {
    //实验仪器百科分类新增
    return http.request({
      url: "/api/InstrumentCategory/Create",
      method: "post",
      data: data,
    });
  },
  InstrumentCategoryFetchModel(data: any) {
    //实验仪器百科分类详情
    return http.request({
      url: "/api/InstrumentCategory/FetchModel",
      method: "post",
      data: data,
    });
  },
  InstrumentCategoryDelete(data: any) {
    //实验仪器百科分类删除
    return http.request({
      url: "/api/InstrumentCategory/Delete",
      method: "post",
      data: data,
    });
  },
  InstrumentCategoryUpdate(data: any) {
    //实验仪器百科分类更新
    return http.request({
      url: "/api/InstrumentCategory/Update",
      method: "post",
      data: data,
    });
  },
  UserFavInstrumentPagedList(data: any) {
    //实验仪器百科收藏列表
    return http.request({
      url: "/api/UserFavInstrument/PagedList",
      method: "post",
      data: data,
    });
  },
  UserFavInstrumentOptions(data: any) {
    //实验仪器百科收藏下拉选项
    return http.request({
      url: "/api/UserFavInstrument/Options",
      method: "post",
      data: data,
    });
  },
  UserFavInstrumentExport(data: any) {
    //实验仪器百科收藏导出
    return http.request({
      url: "/api/UserFavInstrument/Export",
      method: "post",
      data: data,
    });
  },
  UserFavInstrumentCreate(data: any) {
    //实验仪器百科收藏新增
    return http.request({
      url: "/api/UserFavInstrument/Create",
      method: "post",
      data: data,
    });
  },
  UserFavInstrumentFetchModel(data: any) {
    //实验仪器百科收藏详情
    return http.request({
      url: "/api/UserFavInstrument/FetchModel",
      method: "post",
      data: data,
    });
  },
  UserFavInstrumentDelete(data: any) {
    //实验仪器百科收藏删除
    return http.request({
      url: "/api/UserFavInstrument/Delete",
      method: "post",
      data: data,
    });
  },
  UserFavInstrumentUpdate(data: any) {
    //实验仪器百科收藏更新
    return http.request({
      url: "/api/UserFavInstrument/Update",
      method: "post",
      data: data,
    });
  },
  StudentJoinClass(data: any) {
    //实验仪器百科收藏更新
    return http.request({
      url: "/api/Student/JoinClass",
      method: "post",
      data: data,
    });
  },
  StudentMyStudentSummary(data: any) {
    //学生的班级列表
    return http.request({
      url: "/api/Student/MyStudentSummary",
      method: "post",
      data: data,
    });
  },
  UserMyTeacherIds(data: any) {
    //实验仪器百科收藏更新
    return http.request({
      url: "/api/User/MyTeacherIds",
      method: "post",
      data: data,
    });
  },
  StudentExperimentCreateStudentExperiment(data: any) {
    //开始学生实验记录,返回student_experiment_IdModel,共后续记录操作步骤使用
    return http.request({
      url: "/api/StudentExperiment/CreateStudentExperiment",
      method: "post",
      data: data,
    });
  },
  TeacherExperimentCreateTeacherExperiment(data: any) {
    //开始教师的实验记录,返回teacher_experiment_IdModel,共后续记录操作步骤使用
    return http.request({
      url: "/api/TeacherExperiment/CreateTeacherExperiment",
      method: "post",
      data: data,
    });
  },
  StudentExperimentCreateStudentExperimentStep(data: any) {
    //创建学生的实验记录步骤记录
    return http.request({
      url: "/api/StudentExperiment/CreateStudentExperimentStep",
      method: "post",
      data: data,
    });
  },
  TeacherExperimentCreateStudentExperimentStep(data: any) {
    //创建教师的实验记录步骤记录
    return http.request({
      url: "/api/TeacherExperiment/CreateTeacherExperimentStep",
      method: "post",
      data: data,
    });
  },

  StudentExperimentStepsListForStudentExperiment(data: any) {
    //学生的实验记录步骤记录列表
    return http.request({
      url: "/api/StudentExperiment/StepsListForStudentExperiment",
      method: "post",
      data: data,
    });
  },
  TeacherExperimentStepsListForStudentExperiment(data: any) {
    //教师的实验记录步骤记录列表
    return http.request({
      url: "/api/TeacherExperiment/StepsListForTeacherExperiment",
      method: "post",
      data: data,
    });
  },

  StudentExperimentFinishStudentExperiment(data: any) {
    //完成学生的实验记录 ,返回报告id,如果当前student_experiment_Id存在report,则直接返回,否则新建report,再返回然后拿着返回的report_IdModel前往查看报告详情页面,调用report.fetchModel方法 获取报告的数据进行显示/编辑
    return http.request({
      url: "/api/StudentExperiment/FinishStudentExperiment",
      method: "post",
      data: data,
    });
  },
  TeacherExperimentFinishTeacherExperiment(data: any) {
    //完成教师的实验记录 ,返回报告id,如果当前student_experiment_Id存在report,则直接返回,否则新建report,再返回然后拿着返回的report_IdModel前往查看报告详情页面,调用report.fetchModel方法 获取报告的数据进行显示/编辑
    return http.request({
      url: "/api/TeacherExperiment/FinishTeacherExperiment",
      method: "post",
      data: data,
    });
  },

  ReportPagedList(data: any) {
    //实验报告列表
    return http.request({
      url: "/api/Report/PagedList",
      method: "post",
      data: data,
    });
  },
  ReportOptions(data: any) {
    //实验报告下拉选项
    return http.request({
      url: "/api/Report/Options",
      method: "post",
      data: data,
    });
  },
  ReportExport(data: any) {
    //实验报告导出
    return http.request({
      url: "/api/Report/Export",
      method: "post",
      data: data,
    });
  },
  ReportCreate(data: any) {
    //实验报告新增
    return http.request({
      url: "/api/Report/Create",
      method: "post",
      data: data,
    });
  },
  TeacherCreateTeacher(data: any) {
    //实验报告新增
    return http.request({
      url: "/api/Teacher/CreateTeacher",
      method: "post",
      data: data,
    });
  },
  ReportExists(data: any) {
    //实验报告存在
    return http.request({
      url: "/api/Report/Exists",
      method: "post",
      data: data,
    });
  },

  ReportFetchModel(data: any) {
    //实验报告详情
    return http.request({
      url: "/api/Report/FetchModel",
      method: "post",
      data: data,
    });
  },
  ReportDelete(data: any) {
    //实验报告删除
    return http.request({
      url: "/api/Report/Delete",
      method: "post",
      data: data,
    });
  },
  ReportUpdate(data: any) {
    //实验报告更新
    return http.request({
      url: "/api/Report/Update",
      method: "post",
      data: data,
    });
  },

  ReportUpdateReport(data: any) {
    //实验报告更新
    return http.request({
      url: "/api/Report/UpdateReport",
      method: "post",
      data: data,
    });
  },
  ReportThinkPagedList(data: any) {
    //实验报告更新
    return http.request({
      url: "/api/ReportThink/PagedList",
      method: "post",
      data: data,
    });
  },
  ReportThinkCreate(data: any) {
    //实验报告更新
    return http.request({
      url: "/api/ReportThink/Create",
      method: "post",
      data: data,
    });
  },
  UserRegister(data: any) {
    //实验报告更新
    return http.request({
      url: "/api/User/Register",
      method: "post",
      data: data,
    });
  },
  MyProfile(data: any) {
    return http.request({
      url: "/api/User/MyProfile",
      method: "post",
      data: data,
    });
  },
  UserResetUserPassword(data: any) {
    return http.request({
      url: "/api/User/ResetUserPassword",
      method: "post",
      data: data,
    });
  },
  ReportScorePagedList(data: any) {
    //实验报告作业评分列表
    return http.request({
      url: "/api/ReportScore/PagedList",
      method: "post",
      data: data,
    });
  },
  ReportScoreOptions(data: any) {
    //实验报告作业评分下拉选项
    return http.request({
      url: "/api/ReportScore/Options",
      method: "post",
      data: data,
    });
  },
  ReportScoreExport(data: any) {
    //实验报告作业评分导出
    return http.request({
      url: "/api/ReportScore/Export",
      method: "post",
      data: data,
    });
  },
  ReportScoreCreate(data: any) {
    //实验报告作业评分新增
    return http.request({
      url: "/api/ReportScore/Create",
      method: "post",
      data: data,
    });
  },
  ReportScoreFetchModel(data: any) {
    //实验报告作业评分详情
    return http.request({
      url: "/api/ReportScore/FetchModel",
      method: "post",
      data: data,
    });
  },
  ReportScoreDelete(data: any) {
    //实验报告作业评分删除
    return http.request({
      url: "/api/ReportScore/Delete",
      method: "post",
      data: data,
    });
  },
  ReportScoreUpdate(data: any) {
    //实验报告作业评分更新
    return http.request({
      url: "/api/ReportScore/Update",
      method: "post",
      data: data,
    });
  },
  TeacherImportTeachersByExcelFile(data: any) {
    //教师导入
    return http.request({
      url: "/api/Teacher/ImportTeachersByExcelFile",
      method: "post",
      data: data,
    });
  },
};
